package lib.quasar.chat;

import android.app.job.JobParameters;
import android.app.job.JobService;
import android.os.Build;
import android.support.annotation.RequiresApi;

/**
 * description: Job心跳
 * created by kalu on 2018/4/3 14:22
 */
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
public final class ChatJobService extends JobService {

    @Override
    public boolean onStartJob(JobParameters params) {
//        Intent jobIntent = new Intent(getApplication(), ChatService.class);
//        jobIntent.putExtra(ChatService.INTENT_JOB, true);
//        startService(jobIntent);
        return false;
    }

    @Override
    public boolean onStopJob(JobParameters params) {
        return false;
    }
}
